arm64: use "b" to branch to start_xen
authorWei Liu <wei.liu2@citrix.com>
Wed, 31 Aug 2016 15:26:50 +0000 (16:26 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 31 Aug 2016 15:37:23 +0000 (16:37 +0100)
commit0ebbfa4f69cf7bd98ffd50ab35fabf9b36f2deab
tree4cc1c27e104d9363c09d73d986e03fea66c9256c
parent8b53aa66e6f17ee208f2f6b65c473ca907f057d0
arm64: use "b" to branch to start_xen

The cbz instruction has range limitation. When compiled with gcov
support the object is larger so cbz can't handle that anymore. The error
message is like:

aarch64-linux-gnu-ld    -EL  -T xen.lds -N prelink.o \
    /local/work/xen.git/xen/common/symbols-dummy.o -o /local/work/xen.git/xen/.xen-syms.0
prelink.o: In function `launch':
/local/work/xen.git/xen/arch/arm/arm64/head.S:602:(.text+0x408): relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `start_xen' defined in .init.text section in prelink.o

Use "b" instead.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/arm64/head.S